package com.zzj.model.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class ProductListDTO {
  @NotNull(message = "分页大小不能为空")
  private int pageSize;
  @NotNull(message = "页号不能为空")
  private int pageNo;

  @NotNull(message = "查询关键字不能为空")
  private String searchKey;

  private int supplierId;
  private int categoryId;
}
